//
//  ZButton.h
//  ZPlayer
//
//  Created by Zed Link on 5/12/2016.
//  Copyright © 2016 ZED. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface ZVerticalButton : UIButton

/** 文字与图片的间距 */
@property (assign, nonatomic) CGFloat space;

+ (instancetype)zVerticalButtonWithTitle:(NSString *)title fontSize:(CGFloat)size color:(UIColor *)color image:(NSString *)imageName;

- (instancetype)initWithTitle:(NSString *)title fontSize:(CGFloat)size color:(UIColor *)color image:(NSString *)imageName;

- (void)setTitle:(NSString *)title andImage:(UIImage *)image;

@end
